﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace XiAnAirport.Models
{
    public class ResponseMessage
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
        public object data { get; set; }
        public int total { get; set; }
    }

    public class EscalatorResponseMessage
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
        public List<string> data { get; set; }
    }

    public class EscalatorResponseMessage2
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
        public List<TimeModel> data { get; set; }
    }
    public class TimeModel
    {
        public string fileName { get; set; }
        public string value { get; set; }
    }

    public class DeviceSnsResponseMessage
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
        public string[] data { get; set; }
    }

    public class ConfigParamModelResponseMessage
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
        public List<ConfigParamModel> data { get; set; }
    }

    public class ConfigParamModel
    {
        public string name { get; set; }
        public double warning { get; set; }
        public double alarm { get; set; }
    }

    public class WarnsResponseMessage
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
        public List<double> data { get; set; }
    }

    public class ConfigModelResponseMessage
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
        public List<ConfigModel> data { get; set; }
    }

    public class ConfigModel
    {
        public int index { get; set; }
        public string name { get; set; }
    }
}
